package com.ki.glasscase.svc.dao;

import com.ki.glasscase.svc.entity.Tag;

import java.util.List;

/**
 * Created by Khacheresyants.L on 2/18/14.
 */
public interface TagDAO {
    public Long create(Tag tag);
    public Long update(Tag tag);
    public Tag getTagByName(String name);
    public Tag getTagById(int id);
    public List<Tag> getAll(int limit);
    public List<Tag> getTagByProductId(Long productId);
}
